﻿<Window x:Class="P2P_Social_networking.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Canvas Loaded="Button_Click">
        <Canvas.Background>
            <LinearGradientBrush>
                <GradientStop Color="Red"></GradientStop>
                <GradientStop Color="Blue" Offset=".89"></GradientStop>
            </LinearGradientBrush>
        </Canvas.Background>
        <TextBlock Text="Welcome to P2P Social networking. Click 'log in' to get started." x:Name="conStatus"></TextBlock>
        <Button Canvas.Top="39" Content="Log in" Click="Button_Click" x:Name="loginBtn"></Button>
        <Button Canvas.Top="90" Content="Send message" Click="Button_Click_1" x:Name="msgBtn" Visibility="Collapsed"></Button>
    </Canvas>
</Window>
